home *** CD-ROM | disk | FTP | other *** search
/ Surfin' Sam - A Hilariously Interactive Game / Surfin Sam.iso / pc / sam_232.dir / 01119.ls < prev    next >
Encoding:
Text File  |  1995-07-17  |  1.2 KB  |  48 lines

  1. on enterFrame
  2.   global genS
  3.   cursor(-1)
  4.   sound stop 1
  5.   sound stop 2
  6.   set the sound of cast 901 to 1
  7.   puppetSprite(7, 0)
  8.   puppetSprite(3, 0)
  9.   puppetSprite(5, 0)
  10.   puppetSprite(6, 0)
  11.   set the visible of sprite 9 to 1
  12.   set the visible of sprite 3 to 0
  13.   set the visible of sprite 5 to 0
  14.   set the visible of sprite 6 to 0
  15.   set the visible of sprite 7 to 0
  16.   set the visible of sprite 8 to 0
  17.   set the visible of sprite 12 to 0
  18.   set the visible of sprite 13 to 0
  19.   set the visible of sprite 14 to 0
  20.   set the visible of sprite 16 to 0
  21.   if rollOver(17) then
  22.     set the visible of sprite 8 to 1
  23.   end if
  24.   if rollOver(18) then
  25.     set the visible of sprite 12 to 1
  26.   end if
  27.   if rollOver(19) then
  28.     set the visible of sprite 13 to 1
  29.   end if
  30.   if rollOver(20) then
  31.     set the visible of sprite 14 to 1
  32.   end if
  33.   if rollOver(21) then
  34.     set the visible of sprite 16 to 1
  35.   end if
  36.   if the movieTime of sprite 9 = the duration of cast 901 then
  37.     set the visible of sprite 9 to 0
  38.     set the visible of sprite 3 to 1
  39.     set the visible of sprite 5 to 1
  40.     set the visible of sprite 6 to 1
  41.     set the visible of sprite 7 to 1
  42.   end if
  43. end
  44.  
  45. on exitFrame
  46.   go(the frame)
  47. end
  48.